package Manfred;
    import org.python.core.PyException;
import org.python.core.PyInteger;
import org.python.core.PyObject;
import org.python.util.PythonInterpreter;
/*import com.voiceclearly.api.chat.*;
import com.voiceclearly.api.listener.*;
import com.voiceclearly.api.model.*;
import com.voiceclearly.api.*;      //TODO talk API
import com.voiceclearly.api.util.*;*/
public class Main //implements com.voiceclearly.api.listener.CallListener
{
/*public void incomingCall(Call call) {
System.out.println("incomingCall");
}

public void callAnswered(Call call) {
System.out.println("callAnswered");
}

public void callDeclined(Call call, String reason) {
System.out.println("callDeclined");
}

public void callDisconnected(Call call, String reason) {
System.out.println("callEnded");
}

public void incomingIm(Chat chat, Message message) {
System.out.println(chat.getParticipant()+":"+message.getBody());
}*/
public static PythonInterpreter interp = new PythonInterpreter();
//public static Main callBackListener = new Main();
//public static VoiceClearlyService service = new VoiceClearlyService(callBackListener);
    public static void main(String[] args) throws PyException {
//service.login("manfred.sync01@gmail.com", "M4nfr3d$ync");
//service.sendIM("programistagd@gmail.com", "hello");
        interp.execfile("test.py");
        interp.exec("run()");

    }
}